function dataX_normalize = normalize_ratio(dataX)
% Normalize data X based on quantile

parameters = dataX(:,4:end);
[value1 idx1] = sort(dataX(:,4:end));
all_q_X = [];
for i = 1 : size(parameters,2)
    q_X(idx1(:,i)) = (1:size(parameters,1))/size(parameters,1);
    all_q_X = horzcat(all_q_X, q_X');
end
dataX_normalize = horzcat(dataX(:,1:3),all_q_X);

end